package hackathon.light.up;

import java.util.ArrayList;

import android.graphics.Color;

public class LightColor {

	private static ArrayList<Integer> colorList  = null;
	
	public static void createColor(){
		if(colorList == null) {
		colorList = new ArrayList<Integer>();
		colorList.add(Color.rgb(0, 0, 0));
		colorList.add(Color.rgb(0, 0, 255));
		colorList.add(Color.rgb(0, 255, 0));
		colorList.add(Color.rgb(0, 255, 255));
		colorList.add(Color.rgb(255, 0, 0));
		colorList.add(Color.rgb( 255, 0,255));
		colorList.add(Color.rgb(255, 255, 0));
		colorList.add(Color.rgb(255, 255, 255));
		}
		
	}
	public static Integer get_color(int id){
		createColor();
		return colorList.get(id);
	}
}
